package com.hong.concurrent.chapter11;


/**
 * @Author csh
 * @Description
 * @Date 2018/7/7 11:09
 */
public class QueryFromDBAction {
    public void execute(){
        try {
            Thread.sleep(1000L);
            String name = "Alex"+Thread.currentThread().getName();
            ActionContext.getActionContext().getContext().setName(name);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
